Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / ComplexBorderSide Class / ComplexBorderSide Constructor / ComplexBorderSide Constructor(Boolean,Color,Int32,DashStyle,Single[],Single[])
Whether to draw that size of the border
Color for this side of the border
Width of this side of the border, in pixels
Style of dashed line for this side of the border; a setting of the DashStyle enumeration of the Microsoft .NET Framework
Pattern of dashes for this side of the border
Array of values that specify a compound line made up of parallel lines and spaces. The elements in the array must be in increasing order, not less than 0, and not greater than 1. The number of elements in the array must be even.


In This Topic
    ComplexBorderSide Constructor(Boolean,Color,Int32,DashStyle,Single[],Single[])
    In This Topic
    Creates one side of a four-sided, complex border with the specified color, width, dash style, dash pattern and compound array, and whether to draw the side.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal draw As Boolean, _
       ByVal color As Color, _
       ByVal width As Integer, _
       ByVal dashStyle As DashStyle, _
       ByVal dashPattern() As Single, _
       ByVal compoundArray() As Single _
    )
    'Usage
     
    
    Dim draw As Boolean
    Dim color As Color
    Dim width As Integer
    Dim dashStyle As DashStyle
    Dim dashPattern() As Single
    Dim compoundArray() As Single
     
    Dim instance As New ComplexBorderSide(draw, color, width, dashStyle, dashPattern, compoundArray)

    Parameters

    draw
    Whether to draw that size of the border
    color
    Color for this side of the border
    width
    Width of this side of the border, in pixels
    dashStyle
    Style of dashed line for this side of the border; a setting of the DashStyle enumeration of the Microsoft .NET Framework
    dashPattern
    Pattern of dashes for this side of the border
    compoundArray
    Array of values that specify a compound line made up of parallel lines and spaces. The elements in the array must be in increasing order, not less than 0, and not greater than 1. The number of elements in the array must be even.
    Exceptions
    ExceptionDescription
    Specified dash pattern not valid; must be positive value
    Specified compound array values not valid; must be between 0 and 1
    See Also